export interface PhotoInsertOrUpdateForm {
  id: string;
  url: any;
  thumbnailUrl?: string;
  starCount?: number;
  favoritesCount?: number;
  createdAt?: boolean;
  createdBy?: string;
  updateAt?: string;
  updateBy?: string;
}

export type PhotoListResult = PhotoInsertOrUpdateForm & {
  /**
   * 主键ID
   */
  id: string;

  /**
   * 照片Url
   */
  url: string;

  /**
   * 缩略图Url
   */
  thumbnailUrl: string;

  /**
   * 点赞数量
   */
  starCount?: number;

  /**
   * 收藏数量
   */
  favoritesCount?: number;

  /**
   * 更新时刻
   */
  updatedAt: string;
};
